﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KnowledgeSource
{
    public class PolishCharacterRemove : IKnowledgeSource
    {
        public string execute(string input)
        {
            var x = input;
            x = x.Replace("ą", "a");
            x = x.Replace("ę", "e");
            x = x.Replace("ó", "o");
            x = x.Replace("ż", "z");
            x = x.Replace("ź", "z");
            x = x.Replace("ć", "c");
            x = x.Replace("ł", "l");
            x = x.Replace("ś", "s");
            x = x.Replace("ń", "n");
            x = x.Replace("Ą", "A");
            x = x.Replace("Ę", "E");
            x = x.Replace("Ó", "O");
            x = x.Replace("Ż", "Z");
            x = x.Replace("Ź", "Z");
            x = x.Replace("Ć", "C");
            x = x.Replace("Ł", "L");
            x = x.Replace("Ś", "S");
            x = x.Replace("Ń", "N");

            return x;
        }
    }
}
